import InteractiveBase from "../../../LevelCommon/InteractiveBase";
import Clock from "./Clock";

export default class ClockBtn extends InteractiveBase {
    private clock: Clock;
    onAwake() {
        this.clock = this.owner.parent.getComponent(Clock);
    }
    protected InteractiveLogic(): boolean {
        this.clock.OnClickClockBtn();
        return false;
    }
}